.container-login{
    width: 100%;
    height: calc(100% - 50px);
    display: flex;
    align-items: center;
    justify-content: center;
}

.login-dialog{
    width: 350px;
    background-color:rgba(255,255,255,0.8);
    padding: 20px 0;
    border-radius: 10px;
}

.login-dialog h3{
    text-align: center;
    margin-bottom: 20px;
}

.login-dialog .row{
    width: 280px;
    height: 40px;
    margin: 15px auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.login-dialog .row span{
    width: 80px;
    display: inline-block;
    text-align: left;
}

.login-dialog .row input{
    width: 220px;
    height: 35px;
    border-radius: 5px;
    border: 1px solid #ccc;
    outline: none;
    padding-left: 10px;
    box-sizing: border-box;
}

/* 优化按钮样式，与login.css保持一致 */
.login-dialog .row.button-row{
    height: auto;
    flex-direction: column;
    gap: 10px;
    margin-top: 20px;
}

.login-dialog .row.button-row button{
    width: 100%;
    height: 40px;
    border: none;
    border-radius: 5px;
    color: white;
    font-size: 16px;
    cursor: pointer;
}

#register{
    background-color: green;
}

#backToLogin{
    background-color: #666;
}

#register:hover, #backToLogin:hover{
    opacity: 0.9;
}

#register:active, #backToLogin:active{
    background-color: grey;
}